#ifndef _THRESHOLD_H
#define _THRESHOLD_H

#include "stm32f4xx.h"

void  LED_control( int temp ,int   thresholdmax  ,int   thresholdlow);
void control_light(int light, int light_max, int light_min);
void control_humidity(int humidity, int humidity_max, int humidity_min);
void control_voltage(int voltage, int voltage_max, int voltage_min);
void control_temperature(int temp, int thresholdmax, int thresholdlow);
void temp_control(int temp, int thresholdmax, int thresholdlow,
                  int humidity, int humidity_max, int humidity_min,
                  int light, int light_max, int light_min,
                  int voltage, int voltage_max, int voltage_min , int Falg);
#endif
